package com.xujl.mvcbind.ui.element.model;

import com.xujl.fastlib.base.BaseModel;
import com.xujl.fastlib.base.IControl;
import com.xujl.mvcbind.bean.DetailEntity;
import com.xujl.mvcbind.bean.ListBean;

import java.util.ArrayList;
import java.util.List;


/**
 * <pre>
 *     author : xujl
 *     e-mail : 597355068@qq.com
 *     time   : 2019/08/20
 *     desc   :
 *     version: 1.0
 * </pre>
 */

public class ElementTestOneFragmentModel extends BaseModel {
    @Override
    public void init (IControl control) {

    }

    public List<ListBean> getListData () {
        List<ListBean> list = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            list.add(new ListBean("item:" + i));
        }
        return list;
    }

    public DetailEntity getDetailsData () {
        return new DetailEntity("https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=253967951,4133302705&fm=11&gp=0.jpg", "首发20020玛莎拉蒂运动款", "性价比超高 颜值无敌 超级省油 6速一体", "¥ 99999.99元");
    }
}
